Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugix for set token multipliers transaction #258

Merged
merged 6 commits into from
Sep 17, 2023
Merged

Bugix for set token multipliers transaction #258

merged 6 commits into from
Sep 17, 2023

Conversation

n13
Copy link
Collaborator

@n13 n13 commented Sep 15, 2023

Bug: ESR parser had another bug similar to the one before - my fix wasn't good enough

Fix: Now the fix is good enough.

The string we had incoming that we were parsing was "-00" - this is a zero.

The offending QR code:

esr://gmOUW8WhUlDTI7ZXVSRk8n42rTd3_23NKc7PXmZZbzj1s818hgSf1ftKbwVNa1jeZLI654oro4LmqYhUn42nGIBgxVsjox_MM6YzgAEzq3Byfl5Jal5JfHpRfmlBfE5iUmoOE3dBanp8SmpJYmZOMR-IXZKfnZoXn5eYm8rE7h6QWJlfWsIJF2fmghjGwOge4BjpHxoiWFKUmlhcWlQZn1xaVJSal1zJxBwa7CIJF4YYl1uaU5JZkJOZWsTKCDWBDatz-IpSyxOLUmAuEoRykRzF4R5akpmTWVLJgyyH5LDQEE8fzxBxFJ25iRXxxaUFBTmVzN_-QwBMoTBcYTzIm0WJJZn5GN6UKIXYiemdj0CjQCpZsHqHtyw_MzkV5hsJCA9iRkpqcmIl0MqizPwUVoZSIbB9ilhVQFXFVxga-LIqLGQHKxVDVorkICao05kTM0pKCoqt9PUTCzJ1CxIrc4GO08uoLMhI1EtNLCrJ0C8pSswrTkwG-jfPvjQzxTbV0szc1MTQUNcg2ThJ18QyMUk30dLUQNfIKMXYxMQoNTklxUitpCIeqLS6uqSitpaJGahNhRhtrGBtbBBtAA
Image:

image

@@ -89,7 +89,7 @@ Uint8List signedDecimalToBinary(int size, String s) {
var result = decimalToBinary(size, s);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix, everything else here is better errors and better logging since this bug kinda fell through and didn't produce any output.

@@ -2,7 +2,7 @@ part of 'di_setup.dart';

void _initializeLogSystem() {
if (!kReleaseMode) {
Fimber.plantTree(DebugTree());
Fimber.plantTree(DebugTree(useColors: true));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice

@n13 n13 merged commit 0000a8b into main Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants